<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../../mofumui/mofumui.js" ></script>
	</head>
	<body>
		<script type="text/javascript">
			
			//JS 路由
			mofum.setPrefix("../../")
			//使用MLFree 自由布局组件
			mofum.imports(["MFrame","MPanel"],function(MFrame,MPanel){
				//创建框架并设置为网页页面大小
				var frame = new MFrame().setPositionSize();
				
				var panel = new MPanel();
				//动态加载CSS
				mofum.loadLink("../../css/test.css",function(){
					
					panel.addClass("test");
					
				});
				
				frame.append(panel);
			});
			
		</script>
	</body>
</html>
